import {
  BehaviorWithStore
} from 'mobx-miniprogram-bindings';

// 用户存储仓库
import{
  userStore
} from "../../stores/userstore"



export const userCommitBehavior = BehaviorWithStore({
  storeBindings: [
   {
      store: userStore,
      fields: ['userInfo'],
      actions: ['setUserInfo']
    }
  ],
})